#ifndef PRINTER_H
#define PRINTER_H

#include <QtCore>
#include <QtGui>
#include <QtSql>
#include <cryptopp/hex.h>

using namespace std;
using namespace CryptoPP;

class printer : public QWidget
{
public:
    explicit printer(QWidget *parent = 0);
    void imprimir_resumen(QStringList &bufList);
    void imprimir_informes(QString desc_prop);

private:
    void CBB(QPainter &painter, QPrinter &printer, QString prop);
    void KGBB(QPainter &painter, QPrinter &printer, QString prop);
    void BGBB(QPainter &painter, QPrinter &printer, QString prop);
    void SubBallotList(QPainter &painter, QPrinter &printer, QString prop);
    void SubVotingKeyList(QPainter &painter, QPrinter &printer, QString prop);
    void SubVoteList(QPainter &painter, QPrinter &printer, QString prop);
    QString multi_line(QString data,int width);
    QString shift_String(QString &msg);


signals:

public slots:

};

#endif // PRINTER_H
